.btn1{
    width: 100px;
    text-align: center;
    border-radius: 50px;
    transition-duration: 0.2s;
}
#sousuobtn{
    font-size: 26px;
    color: #007bff;
}
#sousuobtn:hover{
    color: white;
}
#sousuo:hover{
    background-color: #007bff;
}
#layui-inputsousuo{
    caret-color:#007bff;
}
#headername img{
    height: 25px;

}
.btn-hover:hover{
    background-color: #f8f8ff;
}
.swiper-container {
    width: 100%;
    height: 150px;
}
.swiper-slide{
    width: 100%;
    height: 100%;
}
.swiper-slide img{
    height: 100%;
    width: 100%;
}
.form-control1{
    display: inline-block;
    width: inherit;
}
.myerror{
    text-align: center;
    width: 100%;
    top: 50%;
    transform: translate(0, -50%);
    position: absolute;
}
.errorbody{
    height: 100%;
}
.myerror a{
    display: inline-block;
    text-decoration: none;
    font-size: 16px;
    width: 6rem;
    height: 2rem;
    text-align: center;
    line-height: 2rem;
    background-color: #f8f8ff;
    border-radius: 20px;
}
.myerror a:hover{
    background-color: lightgray;
    color:white;
}
.menu {
    display: flex;
    flex-direction: column;
}
.mt-6 {
    margin-top: 1.5rem !important;
}
ul {
    padding: 0;
    margin: 0;
    margin-top: 0px;
    list-style-type: none;
}
.menu-item {
    display: flex;
    align-items: center;
    padding: 0.4rem 1rem;
    white-space: nowrap;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}
.menu-item:hover{
    background-color: #f8f8ff;
}
.menu-item_no_hover:hover{
    background-color: #007bff;
    border-color: #007bff;
}
.menu_item_active{
    color: white;
    font-weight: 600;
    background-color: #007bff;
    border-color: #007bff;
}

.menu > * ~ * {
    margin-top: 0.5rem;
}
.icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 1rem;
}
.fa, .fas {
    font-weight: 900;
}
.fa, .far, .fas {
    font-family: "Font Awesome 5 Free";
}
.fa, .fab, .fad, .fal, .far, .fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}
.mr-5 {
    margin-right: 1.25rem !important;
}
.layui-nav{
    display: flex;
    color: #000;
    background-color: white;
}
.up-avatar{
    cursor: pointer;
}
.up-avatar-tit{
    color: #fff;
    position: absolute;
    text-align: center;
    background: rgba(0,0,0,.8);
    border-radius: 0 0 50% 50%;
    width: 128px;
    height: 40px;
    line-height: 30px;
    left: 78px;
    top: 2px;

}

.layui-nav .layui-nav-item1 a{
    display:block;
    color:#fff;
    transition:all .3s;
    -webkit-transition:all .3s
}
.btn-lg{
  font-size: 1rem;
}
.u-content-tab{
    font-size: 10px;
    font-weight: 500;
    color: #999;
}
.u-content-zy{
    font-size: 12px;
}
.u-btn{
    font-size: 12px;
    color: #007bff;
    font-weight: 500;
}
.u-btn-del{
    font-size: 12px;
    color: red;
    font-weight: 500;
}
html {
    font-size: 14px;
}
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.pricing-header {
    max-width: 700px;
}

.card-deck .card {
    min-width: 220px;
}
#loadd{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: white;
}
#loadd div{
    position: absolute;
    top: 20%;
    left: 47%;
    transform: translate(-50%, -50%);
}
.chatcenter{
    height: 87vh;
}
.chatleft{
    padding-right: 0;
    padding-left: 0;
    background-color: #3d3d3d;
    color: #fff;
}
.chatright{
    height: 87vh;
    padding-left: 0;
}
.title-box{
    height: 60px;
    background: #2e2e2e;
    border-bottom: 1px solid #666;
}
.u-list{
    /*overflow: auto;*/
}
.user-msg{
    width: 85%;
    height: 100%;
    line-height: 60px;
    float: left;
    position: relative;
    padding-left:1.5vh;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.msg-item{
    width: 100%;
    height: 60px;
    background: #3d3d3d;
    padding: 10px 10px;
    border-bottom: 1px solid #2e2e2e;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    cursor: pointer;
    overflow: hidden;
}
.msg-left{
    width:40px;
    display: inline-block;
    position: relative;
}
.tips{
    position: absolute;
    left: -6px;
    z-index: 1;
    border-radius: 9px;
}
.header{
    width: 40px;
    height: 40px;
    top: 50%;
    margin-top: -15px;
    position: absolute;
}
.msg-right{
    display: inline-block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-weight: 400;
    font-size: 14px;
    position: absolute;
    padding-left: 40px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.who-name{
    margin-bottom: 4px;
    display: inline-block;
    font-size: 14px;
}
.last-msg{
    color: #999;
    width: 35vh;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}
.msg-time{
    position: absolute;
    right: 10px;
    top: 0;
    color: #999;
    font-size: 12px;
    line-height: 20px;
}
.msg-item:hover{
    background: #2e2e2e;
}
.active-msg-item{
    background: #2e2e2e;
}
#chatshow{
    text-align: center;
    line-height: 87vh;
    color: #999;
}

.followbtn{
    display: inline-block;
    width: 40%;
}
header{
    height: 60px;
    border-bottom: 1px solid #ebebeb;
    padding-left: 24px;
    line-height: 64px;
    color: #3d3d3d;
    font-size: 16px;
}
.msg-box{
    height: calc(100% - 140px);
    position: relative;
}
.msg-content{
    height: 100%;
    padding: 0 8px;
    border-bottom: 1px solid #ebebeb;
    overflow-y: auto;
    position: relative;
    box-sizing: border-box;
    min-width: 100%;
    min-height: 100%;
    width: -moz-fit-content;
}
.chattool{
    height: 30px;
    padding: 0 24px;
    border-bottom: 1px solid #ebebeb;
}
.msg-send{
    height: 80px;
}
.textarea-box{
    height: 100%;
    padding: 1px 8px;
}
#messagetext{
    position: relative;
    margin-right: 2px;
    font: 14px/1.5 Helvetica,Arial,Tahoma,微软雅黑;
    width: 100%;
    height: 100%;
    outline: none;
    background: #fff;
    border: 0 none;
    overflow-y: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    resize: none;
    vertical-align: middle;
    display: inline-block;
}
.msg-send footer{
    height: 30px;
    text-align: right;
    padding: 0 24px;
    line-height: 40px;
    font-size: 12px;
    color: #999;
}
.textcenter{
    height: calc(100% - 70px);
}
.msg-item-right{
    position: relative;
    float: right;

}
.msg-item-left{
    position: relative;
    float: left;
}
.msg-item1{
    display: block;
    overflow: hidden;
    padding: 4px 0;
    clear: both; /*清除浮动*/

}
.msg-item1 img{
    width: 32px;
    display: block;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
}
.msg-item-right img{
    float: right;
}
.msg-item-left img{
    float: left;
}
.msg-item-right .msg{
    background-color: #5cacde;
    color: white;
    margin-right: 40px;
}
.msg-item-left .msg{
    background-color: gainsboro;
    color: black;
    margin-left: 40px;
}
.msg{
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 24px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
    position: relative;
    max-width: 424px;
    word-break: break-all;
    white-space: pre-wrap;/*//规定段落中的文本不进行换行:保留空白符序列，但是正常地进行换行。*/

}
.msgtab{
    content: " ";
    position: absolute;
    top: 11px;
    left: 100%;
    border-left: 5px solid #5cacde;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 5px solid transparent;
    width: 0;
    height: 0;
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
    height: 10px;
    width: 10px;
    background-color: #fff;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {

    border-radius: 10px;
    background-color: #F5F5F5;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
    padding-top: 100px;
    -webkit-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, .1), inset -1px -1px 0 rgba(0, 0, 0, .07);
    background-color: #dadada;
    min-height: 26px;
    border-radius: 4px;
}

.msg-tab{
    padding-bottom: 5px;
    text-align: center;
    font-size: 12px;
    color: #999;
    float: inside;
}